import Layout from '@/views/layout/Layout'

const monitorRouter = {
  path: '/monitor',
  component: Layout,
  name: 'Monitor',
  meta: {
    title: '运营监控',
    icon: 'guide'
  },
  children: [{
    path: 'statistics',
    name: 'Statistics',
    component: () =>
      import('@/views/subject/statistics'),
    meta: {
      title: '分校运营分析'
    }
  },
  {
    path: 'coursepreview',
    name: 'Coursepreview',
    component: () =>
      import('@/views/user/coursepreview'),
    meta: {
      title: '课程监控分析'
    }
  },
  {
    path: 'teacherpreview',
    name: 'Teacherpreview',
    component: () =>
      import('@/views/user/teacherpreview'),
    meta: {
      title: '教师监控分析'
    }
  },
  {
    path: 'studentpreview',
    name: 'Studentpreview',
    component: () =>
      import('@/views/user/studentpreview'),
    meta: {
      title: '学员监控分析'
    }
  },
  {
    path: 'analysis',
    name: 'Analysis',
    component: () =>
      import('@/views/user/analysis'),
    meta: {
      title: '数据分析'
    }
  }
  ]
};
export default monitorRouter
